home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Dr. Windows 3
/
dr win3.zip
/
dr win3
/
PROGRAMR
/
CENVIW2.ZIP
/
QUOTE.CMM
< prev
next >
Wrap
Text File
|
1993-07-02
|
2KB
|
42 lines
/********************************************************************
*** Quote.cmm - Display a quote randomly selected from a list of ***
*** silly quotes. This is not much good to anyone. ***
********************************************************************/
quote = {
"Me and Rex took the car, ha ha. Stay home. Stay!",
"I'd rather have a bottle in front of me than a frontal lobotomy.",
"Anything sufficiently vague shall always ring true.",
"I'll be back.",
"When law has been outlawed only outlaws will have lawyers.",
"What?!! If that's not your tongue, then whose is it?",
"What's another word for thesaurus?",
"The hills are alive with the sound of music... EEEEEK!!",
"Freud sez: Is that a compiler in your pocket, or do you have C-Envi?",
"Why am I soft in the middle? The rest of my life is so hard.",
"One man claims there is a God\n"
" The next is sure there is not\n"
"While God, in all His glory\n"
" Looks down,\n"
" and laughs\n"
" and says, \"So What?\"\n"
"For God, Omnipotent God\n"
" Doesn't give a doodly-squat.",
"No soap. Radio.",
"Time's a crutch,\n Eat mandarin oranges.",
"What's that smell?",
"Orange you glad I didn't say banana?",
"That's a pretty good pan.",
"I can code better than anyone who codes faster,\n"
" and faster than anyone who codes better.",
};
srand() // initialize random number generator
ChoiceCount = GetArraySpan(quote) + 1;
choice = quote[rand()%ChoiceCount];
// Put this quote in a message box
#include <MsgBox.lib>
MessageBox(choice,"Wisdom");